htic = {
	start : function () {
		this.loadConfig();
	},
	loadConfig : function (){
		dojo.require("custom.exception.manager.ExceptionManager");
		dojo.require("custom.exception.manager.ExceptionConfig");
		ExceptionConfig.load();
	},
	
}

htic.messageManager = {
	delayTime : 3600000,
	domNode : dojo.byId('systemMessage'),
	dialog : null,
	getDialog: function(){
		if (null == this.dialog) {
			this.dialog = dijit.byId('systemMessage');
		}
		return this.dialog;
	},
	error: function(err){
		this.getDialog().setAttribute('title',err.title);
		this.getDialog().setContent(err.content);
		this.getDialog().show();
		setTimeout(function(){
			htic.messageManager.getDialog().hide();
		},this.delayTime);
	},
	message: function(mess){
		this.getDialog().setAttribute('title',mess.title);
		this.getDialog().setContent(mess.content);
		this.getDialog().show();
		setTimeout(function(){
			htic.messageManager.getDialog().hide();
		},this.delayTime);
	}
}